function verify(){
	
}

function checkSelected(){
    var type = document.getElementById('accounttype');
	
	//If student is selected
	if(type.value == "student"){
		//Enabled
		document.getElementById('homeAddress').disabled=false;
		document.getElementById('collegeAddress').disabled=false;
		document.getElementById('regdAdviser').disabled=false;
		document.getElementById('SPAdviser').disabled=false;
		document.getElementById('curriculum').disabled=false;
		//Disabled
		document.getElementById('facultyRoom').disabled=true;
		document.getElementById('designation').disabled=true;
		document.getElementById('rank').disabled=true;
	}
	//If admin staff is selected
	else if(type.value == "adminStaff"){
		//Disabled
		document.getElementById('homeAddress').disabled=true;
		document.getElementById('collegeAddress').disabled=true;
		document.getElementById('regdAdviser').disabled=true;
		document.getElementById('SPAdviser').disabled=true;
		document.getElementById('curriculum').disabled=true;
		document.getElementById('facultyRoom').disabled=true;
		document.getElementById('designation').disabled=true;
		document.getElementById('rank').disabled=true;
	}
	//If instructor is selected
	else if(type.value == "instructor"){
		//Enabled
		document.getElementById('facultyRoom').disabled=false;
		document.getElementById('designation').disabled=false;
		document.getElementById('rank').disabled=false;
		//Disabled
		document.getElementById('homeAddress').disabled=true;
		document.getElementById('collegeAddress').disabled=true;
		document.getElementById('regdAdviser').disabled=true;
		document.getElementById('SPAdviser').disabled=true;
		document.getElementById('curriculum').disabled=true;
	}
}